package modoule01.android.com.javalib;

public class MyClass {
    public static void main(String[] src){
        String url = "http://d.quantuwang.co/2020/05/20/20634/1.jpg";
        int lastIndex = url.lastIndexOf("/");
        String newstr = url.substring(0,lastIndex);
        System.out.println(newstr);
    }
}
